//
//  SRSettingHeightViewController.m
//  SportRing
//
//  Created by Apple on 14/10/24.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import "SRSettingHeightViewController.h"
#import "SRSettingHeightView.h"
#import "SRViewSetting.h"

@interface SRSettingHeightViewController () <SRSettingHeightViewDelegate>

@property (nonatomic, weak) IBOutlet SRSettingHeightView * heightView;

@end

@implementation SRSettingHeightViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self addBackButton];
}

#pragma mark - SRSettingHeightViewDelegate

- (void)didSelectHeight:(NSInteger)height
{
    [SRViewSetting sharedSetting].height = height;
}

- (void)currentHeight:(NSInteger)height{
}

- (void)defaultValue:(NSInteger)height
{
    [SRViewSetting sharedSetting].height = height;
}

#pragma mark - SRSettingProtocol

- (void)didTapNextBtn
{
    
}

-(void)didTapBackBtn
{
    [self.navigationController popViewControllerAnimated:YES];
}

@end
